Scroll to make the current folder visible. (#152921)
authorMatthias Clasen <mclasen@redhat.com>
Sun, 26 Sep 2004 05:54:59 +0000 (05:54 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 26 Sep 2004 05:54:59 +0000 (05:54 +0000)
2004-09-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpathbar.c (gtk_path_bar_check_parent_path): Scroll
to make the current folder visible.  (#152921)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkpathbar.c

index d32a646c31826a0e5b5177705d7cf78e2662ce95..d54e8c2b8835c69f498a38ca62354b4a6f57aa7e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-09-26  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkpathbar.c (gtk_path_bar_check_parent_path): Scroll
+       to make the current folder visible.  (#152921)
+
        * gtk/gtkbutton.c: Revert the button state to !button_down,
        if we're missing the release event due to grab shadowing
        or insensitivation.
index d32a646c31826a0e5b5177705d7cf78e2662ce95..d54e8c2b8835c69f498a38ca62354b4a6f57aa7e 100644 (file)
@@ -1,5 +1,8 @@
 2004-09-26  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkpathbar.c (gtk_path_bar_check_parent_path): Scroll
+       to make the current folder visible.  (#152921)
+
        * gtk/gtkbutton.c: Revert the button state to !button_down,
        if we're missing the release event due to grab shadowing
        or insensitivation.
index d32a646c31826a0e5b5177705d7cf78e2662ce95..d54e8c2b8835c69f498a38ca62354b4a6f57aa7e 100644 (file)
@@ -1,5 +1,8 @@
 2004-09-26  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkpathbar.c (gtk_path_bar_check_parent_path): Scroll
+       to make the current folder visible.  (#152921)
+
        * gtk/gtkbutton.c: Revert the button state to !button_down,
        if we're missing the release event due to grab shadowing
        or insensitivation.
index d32a646c31826a0e5b5177705d7cf78e2662ce95..d54e8c2b8835c69f498a38ca62354b4a6f57aa7e 100644 (file)
@@ -1,5 +1,8 @@
 2004-09-26  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkpathbar.c (gtk_path_bar_check_parent_path): Scroll
+       to make the current folder visible.  (#152921)
+
        * gtk/gtkbutton.c: Revert the button state to !button_down,
        if we're missing the release event due to grab shadowing
        or insensitivation.
index 84e824bb2134fc2e9ac0ec7054fa3840e78ee831..f91428aa33e150ee1e479ddb4f9438cadd0ce273 100644 (file)
@@ -1165,13 +1165,13 @@ gtk_path_bar_check_parent_path (GtkPathBar         *path_bar,
                                                 BUTTON_DATA (list->data),
                                                 (list == current_path) ? TRUE : FALSE);
        }
-#if 1
+
       if (!gtk_widget_get_child_visible (BUTTON_DATA (current_path->data)->button))
        {
          path_bar->first_scrolled_button = current_path;
          gtk_widget_queue_resize (GTK_WIDGET (path_bar));
        }
-#endif
+
       return TRUE;
     }
   return FALSE;